package com.travel.group.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.group.entity.News;

import java.util.List;

/**
 * @Author Jun jie Yi
 * @Date 2021/5/15-16:26
 */
public interface NewsService extends IService<News> {

    List<News> getAllNewsInfo(Integer page, Integer limit);

    List<News> getAllNewsInfoPlus(Integer page, Integer limit, String name);

    List<News> getByNewsIds(List<Integer> ids);

    Integer countData();

}
